﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Tencent.OA.ACM.Entity.ReportModel>" %>
<%@ Import Namespace="Tencent.OA.ACM.Entity" %>
<%@ Import Namespace="Tencent.OA.ACM.App" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeaderPlaceHolder" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="mainContainerPlaceHolder" runat="server">
    
    <div class="title ">
        统计报表--详细
    </div>
       <!--查询条件 Start-->
    <ul id="tags" class="tags">
        <li class="selectTag"><a href='<%=this.Url.Content("~/Report/Index") %>'>班车统计报表</a></li>
        <li><a href='<%=this.Url.Content("~/Report/StationCount") %>'>班车路线站点统计</a></li>

    </ul>
    <div class="tagCon">
        <div id="tagContent2" class="tagContent ">
        </div>
    </div>
    <table id="myFault" class="tblData" cellpadding="0" cellspacing="0" style="width: 100%">
        <thead>
            <tr class="lt_head">
                <th>
                    路 线 名
                </th>
                <th>
                    站 点
                </th>
                <th>
                    日 期
                </th>
                <th>
                    刷卡次数
                </th>
            </tr>
        </thead>
        <tbody id="gvList">
        <%
            IList<Tencent.OA.ACM.Entity.ReportModel> list = this.Model.DataList.PagedList;                        
            %>
            <%=this.Html.ListTableNoResultMessage(list, 4)%>
            <%           
            foreach(ReportModel m in list)
            {
                %>
                 <tr>
                    <td>
                        <%=m.RouteName %>
                    </td>
                    <td>
                         <%=m.StationName %>
                    </td>
                    <td>
                         <%=Convert.ToDateTime(m.OccurTime).ToString("yyyy-MM-dd") %>
                    </td>
                    <td>
                        <%=m.ShuakaCount %>
                    </td>
                </tr>
                <%
            }
           
            %>
        </tbody>
    </table>
    <!--翻页 Start-->
    <div class="paging">
        <%=Html.Pager<ReportModel>(this.Model.DataList)%>
    </div>
    <!--翻页 End-->
</asp:Content>
